package com.demo.user.api;

import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@EnableDiscoveryClient
@SpringBootApplication
public class UserApiApplication {

	public static void main(String[] args) {
		SpringApplication app = new SpringApplication(UserApiApplication.class);
		app.setBannerMode(Banner.Mode.CONSOLE);
		app.run(args);

//		new SpringApplicationBuilder(DemoApiApplication.class).bannerMode(Banner.Mode.CONSOLE).run(args);
	}
}
